package edu.spec.wyn.week09.class2.homework1;

import java.util.List;

public class Cat extends Animal implements IPet  {
    public Cat(String name, List sounds, List foods) {
        super(name, sounds, foods);
    }

    @Override
    public String cry() {
        return (getName()+"的叫声是"+getSounds());
    }

    public Cat() {
    }
}
